package com.zz.springboot.model;

import lombok.Data;

import javax.persistence.*;

@Table(name = "user_valid_days")
@Data
public class UserValidDays {
    @Id
    @Column(name = "id")
    private Long id;

    /**
     * 用户名
     */
    @Column(name = "username")
    private String username;

    /**
     * 有效天数
     */
    @Column(name = "valid_days")
    private Integer validDays;

}